package Test6;

public class TestPerson {
    public static void main(String[] args) {
        Student student=new Student("小王","男",18,"654654","7月","计算机");
        System.out.println(student.toString());
        Teacher teacher=new Teacher("老王","男",40,"6454",5000,"老师","宣传");
        System.out.println(teacher.toString());
    }
}
